package Demo3;

public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("dog 在吃骨头...");
    }

    @Override
    public void sleep() {
        System.out.println("dog sleeping...");
    }
}
